package worldinruin.core;

import java.util.List;

public interface IGame {

	/**
	 * Returns a list of players currently playing the game.
	 * @return List of player objects.
	 */
	List<IPlayer> getPlayers();

	/**
	 * Gets map used in this game.
	 * @return Map
	 */
	IMap getMap();

	/**
	 * Gives back the player who is currently playing his or her turn.
	 * @return Current active player.
	 */
	IPlayer getActivePlayer();

	/**
	 * Cycles through player list until wanted player comes up.
	 * @param player Sets player as the active player.
	 */
	void setActivePlayer(IPlayer player);

	/**
	 * Sets the next player in the list as the active player.
	 */
	void setActivePlayer();

}